package simpleExample.changeSetterCode;public class Employee {	private EmployeeState type = new EmployeeState(EmployeeState.ENGINEER);	private int _monthlySalary;	private int _commission;	private int _bonus;		public Employee (int type) {		set_type(type);	}	public int payAmount() {		switch (get_type()) {		case EmployeeState.ENGINEER:			return _monthlySalary;		case EmployeeState.SALESMAN:			return _monthlySalary + _commission;		case EmployeeState.MANAGER:			return _monthlySalary + _bonus;		default:			throw new RuntimeException("Incorrect Employee");		}	}	public void set_type(int _type) {		this.type._type = _type;	}	public int get_type() {		return type.getTypeCode();	}}